<?php
/**
 * User:ayou chow
 * Date: 2020-02-06
 * Time: 11:13
 */

namespace app\common\model;


use think\Model;

class UserAuthModel extends Model
{
    public function user()
    {
        // return $this->hasOne('UserModel', 'id', 'uid')->with('profile')->field("id, nick_name,anchor_secret");
        return $this->hasOne('UserModel', 'id', 'uid')->with('profile')->field("id, nick_name");
    }
}